package com.example.factory.factory.strategy;

import com.example.factory.factory.StrategyInterface;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

@Component
@Order(value = 1)
public class FerrariStrategy implements StrategyInterface {
    @Override
    public String getName() {
        return "FerrariStrategy car";
    }

    @Override
    public String getParticipate() {
        return "FerrariStrategy getParticipate";

    }

    @Override
    public String getComplete() {
        return "FerrariStrategy getComplete";

    }
}
